<div nz-form-item nz-row style="margin-top:20px;margin-bottom: 20px;">
    <div nz-col [nzSpan]="6">
      <button nz-button [nzType]="'primary'" [nzSize]="'small'" col-offset-2 (click)="toBack()">
        <i class="anticon anticon-left"></i>
        <span>返回</span>
      </button>
      <span style="color: red;padding-left: 20px">当前电梯资料完成度：{{fileCompletePercent}}</span>
    </div>
  </div>
<div nz-row class="markdown">

    <div nz-row class="boxTitle">
        <a>安全技术档案</a>
    </div>

    <div nz-row>
        <!-- 第一列 -->
        <div nz-col [nzSpan]="12">
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    监督检验报告（上传清晰照片或者扫描件）:
                </div>
            </div>
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    <nz-upload
                    nzAction="{{config.IP+config.API.upload}}"
                    nzListType="picture-card"
                    [(nzFileList)]="unitFileBean.oir"
                    [nzShowButton]="true" 
                    [nzRemove]="nzRemoveFile"
                    [nzPreview]="handlePreview" 
                    (nzChange)="nzChange($event)">
                    <i class="anticon anticon-plus"></i>
                    <div class="ant-upload-text">上传</div>
                    </nz-upload>
                </div>
            </div>
        </div>

        <!-- 第二列 -->
        <div nz-col [nzSpan]="12">
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    定期检验报告（上传清晰照片或者扫描件）:
                </div>
            </div>
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    <nz-upload
                    nzAction="{{config.IP+config.API.upload}}"
                    nzListType="picture-card"
                    [(nzFileList)]="unitFileBean.pir"
                    [nzShowButton]="true" 
                    [nzRemove]="nzRemoveFile"
                    [nzPreview]="handlePreview" 
                    (nzChange)="nzChange($event)">
                    <i class="anticon anticon-plus"></i>
                    <div class="ant-upload-text">上传</div>
                    </nz-upload>
                </div>
            </div>
        </div>

    </div>

    <div nz-row>
        <!-- 第一列 -->
        <div nz-col [nzSpan]="12">
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    日常检查与使用状况记录:
                    <button  nz-button [nzSize]="'small'" [nzType]="'primary'" (click)="toinspection()" style="margin-left: 10px;">巡检记录</button>
                </div>
            </div>
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    <nz-upload
                    nzAction="{{config.IP+config.API.upload}}"
                    nzListType="picture-card"
                    [(nzFileList)]="unitFileBean.diur"
                    [nzShowButton]="true" 
                    [nzRemove]="nzRemoveFile"
                    [nzPreview]="handlePreview" 
                    (nzChange)="nzChange($event)">
                    <i class="anticon anticon-plus"></i>
                    <div class="ant-upload-text">上传</div>
                    </nz-upload>
                </div>
            </div>
        </div>

        <!-- 第二列 -->
     <!-- <div nz-col [nzSpan]="12">
        <div nz-row>
          <div nz-col [nzOffset]="1">
            <a (click)="toMaintenance()"><span>日常维护保养记录</span></a>
          </div>
        </div>
      </div>-->
        <div nz-col [nzSpan]="12">
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    日常维护保养记录:
                    <button  nz-button [nzSize]="'small'" [nzType]="'primary'" (click)="toMaintenance()" style="margin-left: 10px;">维保记录</button>
                </div>
            </div>
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    <nz-upload
                    nzAction="{{config.IP+config.API.upload}}"
                    nzListType="picture-card"
                    [(nzFileList)]="unitFileBean.dmr"
                    [nzShowButton]="true" 
                    [nzRemove]="nzRemoveFile"
                    [nzPreview]="handlePreview" 
                    (nzChange)="nzChange($event)">
                    <i class="anticon anticon-plus"></i>
                    <div class="ant-upload-text">上传</div>
                    </nz-upload>
                </div>
            </div>
        </div>

    </div>

    <div nz-row>
        <!-- 第一列 -->
        <div nz-col [nzSpan]="12">
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    年度自行检查记录或者报告:
                    <button  nz-button [nzSize]="'small'" [nzType]="'primary'" (click)="toSelfCheck()" style="margin-left: 10px;">年度自检</button>
                </div>
            </div>
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    <nz-upload
                    nzAction="{{config.IP+config.API.upload}}"
                    nzListType="picture-card"
                    [(nzFileList)]="unitFileBean.airr"
                    [nzShowButton]="true" 
                    [nzRemove]="nzRemoveFile"
                    [nzPreview]="handlePreview" 
                    (nzChange)="nzChange($event)">
                    <i class="anticon anticon-plus"></i>
                    <div class="ant-upload-text">上传</div>
                    </nz-upload>
                </div>
            </div>
        </div>

        <!-- 第二列 -->
        <div nz-col [nzSpan]="12">
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    应急救援记录:
                    <button nz-button [nzSize]="'small'" [nzType]="'primary'" (click)="torescue()" style="margin-left: 10px;">应急救援记录</button>
                </div>
            </div>
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    <nz-upload
                    nzAction="{{config.IP+config.API.upload}}"
                    nzListType="picture-card"
                    [(nzFileList)]="unitFileBean.err"
                    [nzShowButton]="true" 
                    [nzRemove]="nzRemoveFile"
                    [nzPreview]="handlePreview" 
                    (nzChange)="nzChange($event)">
                    <i class="anticon anticon-plus"></i>
                    <div class="ant-upload-text">上传</div>
                    </nz-upload>
                </div>
            </div>
        </div>

    </div>

    <div nz-row>
        <!-- 第一列 -->
        <div nz-col [nzSpan]="12">
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    运行故障和事故记录:
                    <button  nz-button [nzSize]="'small'" [nzType]="'primary'" (click)="tomaintain()" style="margin-left: 10px;">维修记录</button>
                </div>
            </div>
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    <nz-upload
                    nzAction="{{config.IP+config.API.upload}}"
                    nzListType="picture-card"
                    [(nzFileList)]="unitFileBean.rfar"
                    [nzShowButton]="true" 
                    [nzRemove]="nzRemoveFile"
                    [nzPreview]="handlePreview" 
                    (nzChange)="nzChange($event)">
                    <i class="anticon anticon-plus"></i>
                    <div class="ant-upload-text">上传</div>
                    </nz-upload>
                </div>
            </div>
        </div>

        <!-- 第二列 -->
        <div nz-col [nzSpan]="12">
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    安全附件、安全保护装置定期校验报告（上传清晰照片或者扫描件）:
                </div>
            </div>
            <div nz-row>
                <div nz-col [nzOffset]="1">
                    <nz-upload
                    nzAction="{{config.IP+config.API.upload}}"
                    nzListType="picture-card"
                    [(nzFileList)]="unitFileBean.pcsd"
                    [nzShowButton]="true" 
                    [nzRemove]="nzRemoveFile"
                    [nzPreview]="handlePreview" 
                    (nzChange)="nzChange($event)">
                    <i class="anticon anticon-plus"></i>
                    <div class="ant-upload-text">上传</div>
                    </nz-upload>
                </div>
            </div>
        </div>

    </div>

</div>

<div nz-row class="markdown">

  <div nz-row class="boxTitle">
    <a>使用登记资料</a>
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">    
                使用登记证(上传图片):
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  nzSize="10485760"
                  [(nzFileList)]="unitFileBean.urc"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>
      <!--第二列-->
    <div nz-col [nzSpan]="12">
      <div nz-row>
        <div nz-col [nzOffset]="1">
          安全检验合格证:
        </div>
      </div>
      <div nz-row>
        <div nz-col [nzOffset]="1">
          <nz-upload
            nzAction="{{config.IP+config.API.upload}}"
            nzListType="picture-card"
            [(nzFileList)]="unitFileBean.sic"
            [nzRemove]="nzRemoveFile"
            [nzPreview]="handlePreview"
            [nzShowButton]="unitFileBean.sic.length < 2"
            (nzChange)="nzChange($event)">
            <i class="anticon anticon-plus"></i>
            <div class="ant-upload-text">上传</div>
          </nz-upload>
        </div>
      </div>
    </div>
  </div>
  
</div>

<div nz-row class="markdown">

  <div nz-row class="boxTitle">
    <a>制造资料</a>
  </div>

  <div nz-row>
        <!-- 第一列 -->
        <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
              安装使用维护说明书:
            </div>
          </div>
          <div nz-row>
            <div nz-col [nzOffset]="1">
              <nz-upload
                nzAction="{{config.IP+config.API.upload}}"
                nzListType="picture-card"
                [(nzFileList)]="unitFileBean.imm"
                [nzShowButton]="true"
                [nzRemove]="nzRemoveFile"
                [nzPreview]="handlePreview"
                (nzChange)="nzChange($event)">
                <i class="anticon anticon-plus"></i>
                <div class="ant-upload-text">上传</div>
              </nz-upload>
            </div>
          </div>
        </div>
  
        <!-- 第二列 -->
        <div nz-col [nzSpan]="12">
            <div nz-row>
              <div nz-col [nzOffset]="1">             
                电梯轿厢实图（包括登记标志、检验合格标志、安全使用须知等）:
              </div>
            </div>
            <div nz-row>
                <div nz-col [nzOffset]="1">
                  <nz-upload
                    nzAction="{{config.IP+config.API.upload}}"
                    nzListType="picture-card"
                    [(nzFileList)]="unitFileBean.ecp"
                    [nzShowButton]="true" 
                    [nzRemove]="nzRemoveFile"
                    [nzPreview]="handlePreview" 
                    (nzChange)="nzChange($event)">
                    <i class="anticon anticon-plus"></i>
                    <div class="ant-upload-text">上传</div>
                  </nz-upload>
                </div>
            </div>
        </div>
        
    </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                制造许可证明文件（特种设备制造许可证）:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.ml"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                整机型式试验证书或报告:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.fttc"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>
      
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                产品质量证明文件:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.cpq"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                门锁装置型式试验合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.ttgl"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>
      
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                限速器型式试验合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.ttsl"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                安全钳型式试验合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.sctt"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>
      
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                缓冲器型式试验合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.bttc"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                含有电子元件的安全电路（如果有）型式试验合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.csct"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>
      
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                轿厢上行超速保护装置型式试验合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.cott"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                驱动主机型式试验合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.dhtt"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>
      
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                控制柜型式试验合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.cctt"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                限速器调试证书:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.sldc"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>
      
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                渐进式安全钳的调试证书:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.adc"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                机房或者机器设备间及井道布置图:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.lmrw"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>
      
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                电气原理图（含动力电路和连接电气安全装置的电路）:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.es"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      
  </div>
</div>

<div nz-row class="markdown">

  <div nz-row class="boxTitle">
    <a>安装资料</a>
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                安装许可证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.ipt"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                安装告知书:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.inn"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                电梯安装施工方案:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.cpei"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                电梯安装施工过程记录:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.icpr"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                电梯安装施工自检报告:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.srei"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                电梯安装变更设计证明文件:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.icdc"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                安装质量证明文件:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.iqd"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>
  
</div>

<div nz-row class="markdown">

  <div nz-row class="boxTitle">
    <a>改造或重大修理资料</a>
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                改造或重大修理许可证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.pamr"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                改造或重大修理告知书:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.namr"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                改造或重大修理施工方案:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.cpam"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                改造或重大修理施工过程记录:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.rcam"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                改造或重大修理自检报告:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.sram"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                更换的安全保护装置和主要部件的合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.crsm"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                更换的安全保护装置和主要部件的型式试验合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.ttsm"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                限速器调试证书(改造后):
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.dcms"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                渐进式安全钳调试证书(改造后):
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.rean"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                改造后的整梯合格证:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.rlp"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                改造或重大修理质量证明文件:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.pqam"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

      <!-- 第二列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                其他:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.ohe"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>
  
</div>

<div nz-row class="markdown">

  <div nz-row class="boxTitle">
    <a>其他</a>
  </div>

  <div nz-row>
      <!-- 第一列 -->
      <div nz-col [nzSpan]="12">
          <div nz-row>
            <div nz-col [nzOffset]="1">
                其他:
            </div>
          </div>
          <div nz-row>
              <div nz-col [nzOffset]="1">
                <nz-upload
                  nzAction="{{config.IP+config.API.upload}}"
                  nzListType="picture-card"
                  [(nzFileList)]="unitFileBean.totalohe"
                  [nzShowButton]="true" 
                  [nzRemove]="nzRemoveFile"
                  [nzPreview]="handlePreview" 
                  (nzChange)="nzChange($event)">
                  <i class="anticon anticon-plus"></i>
                  <div class="ant-upload-text">上传</div>
                </nz-upload>
              </div>
          </div>
      </div>

  </div>
  
</div>

<div nz-form-item nz-row style="margin-bottom:8px;">
    <div nz-form-control nz-col [nzSpan]="8" [nzOffset]="11">
        <button nz-button [nzSize]="'large'" [nzType]="'primary'" (click)="saveEdit()">保存</button>
    </div>
</div>

<!-- 图片预览模态框 -->
<nz-modal [nzVisible]="previewVisible" [nzContent]="modalContent" [nzFooter]="null" (nzOnCancel)="previewVisible=false">
    <ng-template #modalContent>
        <img [src]="previewImage" [ngStyle]="{ 'width': '100%' }" />
    </ng-template>
</nz-modal>
